package com.ssm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssm.mapper.EmpMapper;
import com.ssm.pojo.Emp;
import com.ssm.service.EmpService;
@Service
public class EmpServiceImpl implements EmpService{
	@Autowired
	private EmpMapper empMapper;

	@Override
	public void saveEmp(Emp emp) {
		empMapper.saveEmp(emp);
	}

	@Override
	public int saveEmpListService(List<Emp> emps) {
		return empMapper.saveEmpList(emps);
	}
	
	

}
